
function setActiveElement(curPage,sort){
    var activeSort = document.getElementById("sort"+sort);
    var activeElement = document.getElementById(curPage);
    activeElement.classList.add("active");
    activeSort.classList.add("active");
}

function addToCart(id){
    window.location.href="ShopCartServlet?id="+id+"&serviceType=1";
}